#include <stdio.h>
#define MAXLINE 1000
#define YES 0

int wordlength(unsigned v);

int main() {
    printf("%d\n", wordlength(8U));
}

int wordlength(unsigned v) {
    int i;
    for(i=1;(v=v>>1)>0;i++) {;}
    return i;
}